package com.itheima;

import com.mysql.jdbc.JDBC4Connection;

import java.sql.SQLException;
import java.util.Properties;
//1.定义一个类,继承jdbc4con
//2.定义connection连接对象和容器对象的成员变量
//3.通过构造方法为成员变量赋值
//4.重写close方法,完成归还连接

public class Connectionpool extends JDBC4Connection {
    public Connectionpool(String hostToConnectTo, int portToConnectTo, Properties info, String databaseToConnectTo, String url) throws SQLException {
        super(hostToConnectTo, portToConnectTo, info, databaseToConnectTo, url);
    }
}
